import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const wxamp: AppRouteModule = {
  path: '/wxamp',
  name: 'Wxamp',
  component: LAYOUT,
  redirect: '/wxamp/release',
  meta: {
    orderNo: 20,
    icon: 'ant-design:wechat-filled',
    title: '微信小程序',
  },
  children: [
    {
      path: 'setting',
      name: 'Setting',
      component: () => import('@/views/wxamp/setting/index.vue'),
      meta: {
        title: '小程序设置',
      },
    },
  ],
};

export default wxamp;
